import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { ScrewTransferComponent } from './screw-transfer/screw-transfer.component';
import { ScrewCountComponent } from './screw-count/screw-count.component';

const routes: Routes = [
  {
    path: 'screw', children: [
      { path: '', pathMatch: 'full', redirectTo: 'transfer' },
      { path: 'transfer', component: ScrewTransferComponent },
      { path: 'query', component: ScrewCountComponent },
    ]
  },
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class ScrewInventoryRoutingModule {
}
